package com.zjitc.model.intelligent;


import java.util.List;

/**
 * Create By IntelliJ IDEA
 *
 * @author:lhl
 * @create-Time:2017/12/14 9:28
 * @description:
 */
public class Chart {

    private int code;
    private String text;
    private String url;
    private List<Content> list;

    public Chart() {
    }

    public Chart(int code, String text, String url, List<Content> list) {
        this.code = code;
        this.text = text;
        this.url = url;
        this.list = list;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<Content> getList() {
        return list;
    }

    public void setList(List<Content> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Chart{" +
                "code=" + code +
                ", text='" + text + '\'' +
                ", url='" + url + '\'' +
                ", list=" + list +
                '}';
    }
}
